package com.example.demo.common.response;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 公共分页请求响应对象
 * @author farben
 * @param <T>
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class SSPPageResponse<T> extends SSPResponse {

    private Integer currentPage;

    private Integer pageSize;

    private Long totalCount;

    private Integer totalPage;

    private List<T> records;
}
